package com.ruoyi.t.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单供应商发货对象 t_order_user_address
 *
 * @author YY
 * @date 2025-02-09
 */
public class TOrderUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 货运编号 */
    @Excel(name = "货运编号")
    private String addressNum;

    /** 货运图片 */
    @Excel(name = "货运图片")
    private String paymentImgUrl;

    /** 状态（0 订单提交 1 发货 2 送货） */
    @Excel(name = "状态", readConverterExp = "0=,订=单提交,1=,发=货,2=,送=货")
    private String status;

    private String orderNum;

    private String userName;

    private Long orderStyleId;

    public Long getOrderStyleId() {
        return orderStyleId;
    }

    public void setOrderStyleId(Long orderStyleId) {
        this.orderStyleId = orderStyleId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setAddressNum(String addressNum)
    {
        this.addressNum = addressNum;
    }

    public String getAddressNum()
    {
        return addressNum;
    }
    public void setPaymentImgUrl(String paymentImgUrl)
    {
        this.paymentImgUrl = paymentImgUrl;
    }

    public String getPaymentImgUrl()
    {
        return paymentImgUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("addressNum", getAddressNum())
            .append("paymentImgUrl", getPaymentImgUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
